package com.management.demo.dto.wx;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@Schema(description = "添加/修改商品")
public class GoodsDTO {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "分类id")
    private Integer categoryId;

    @Schema(description = "商品图片")
    private String url;

    @Schema(description = "标签")
    private List<String> tag;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "价格")
    private BigDecimal price;

    @Schema(description = "规格列表")
    private List<List<Integer>> specifications;

    @Schema(description = "默认选中列表")
    private List<List<Integer>> selectedItems;

    @Schema(description = "推荐列表")
    private List<List<Integer>> recommendItems;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "是否展示 0-否 1-是")
    private Integer status;
}
